package com.im.project.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 重置密码参数对象
 *
 * @author yunZhouJiaDi
 */
@Data
public class ResetPasswordDto {

    @NotEmpty(message = "邮箱号不能为空")
    private String email;

    @NotEmpty(message = "邮箱验证码不能为空")
    private String emailCode;

    @NotEmpty(message = "账号不能为空")
    private String username;

    @NotEmpty(message = "新密码不能为空")
    private String newPassword;

    @NotEmpty(message = "重复密码不能为空")
    private String resetPassword;

}
